@charset "utf-8";
/*统一设置*/
*{
    margin: 0;
    padding: 0;
}
/*网页背景图片*/
body{
    background: url("../images/background.jpg") no-repeat ;
    background-size: cover;
}
/*登陆区主体*/
#main{
    width: 350px;
    height: 600px;
    background: rgba(0,0,0,0.5);
    margin: 40px auto;
    border-top: 8px solid #05315a;
    position: relative;
}

/*头像区*/
#avatar{
    width: 184px;
    height: 184px;
    background: url("../images/avatar.jpg") no-repeat;
    background-size: cover;
    margin: 50px auto;
    border-radius: 50%;
}

/*账号密码区*/
#account{
    width: 75%;
    /*height: 200px;*/
    /*background: #ffd1e4;*/
    margin: 0 auto;
}
#account .input-box{
    height: 50px;
    margin: 5px auto;
    /*background: #ffbcdd;*/
}
#account .input-box input{
    height: 40px;
    width: calc(100% - 10px);
    border: none;
    outline: none;
    padding: 0 5px;
    color: #05315a;
    font-size: 16px;
}

/* 身份选择框 */
.select{
    width: 75%;
    height: 30px;
    margin: 0px auto;
}
.form-control {
    display: block;
    width: 100%;
    height: 30px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

/*错误提示框*/
#error-box{
    width: 75%;
    height: 40px;
    margin: 0px auto;
    color: red;
    font-weight: 500;
    line-height: 40px;
    text-align: center;
}
/*登录按钮*/
.login-btn{
    float:left;
    width: 120px;
    height: 40px;
    display: block;
    margin: 0px 0px 20px 45px;
    background:#05315a ;
    border: none;
    outline: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}
/* 指向按钮 */
.login-btn:hover{
    color:red
}
/*按下按钮*/
.login-btn:active{
    position: relative;
    top:2px;
}

/*注册按钮*/
.register-btn{
    float:right;
    width: 120px;
    height: 40px;
    display: block;
    margin: 0px 45px 20px 0px;
    background:#05315a ;
    border: none;
    outline: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}
/* 指向按钮 */
.register-btn:hover{
    color:red
}
/*按下按钮*/
.register-btn:active{
    position: relative;
    top:2px;
}

/*登陆区底部*/
#footer{
    height: 50px;
    text-align: center;
    line-height: 50px;
    position: absolute;
    bottom: 0;
    width: 100%;
    border-top: 1px solid #ccc;
}
#footer a{
    color: #ccc;
    text-decoration: none;
}
#footer a:hover{
    color: red;
}